<div>
  标题： <%= @article.title %>
</div>
<div>
  内容：
  <pre>
    <%= @article.content %>
  </pre>
</div>

<div>
  <% @article.images.each do |image| %>
    <%= image_tag image.image %>
  <% end %>
</div>

<div>
  版本：
  <%= render partial: 'article_snapshot', collection: @article_snapshots, as: :article_snapshot %>
</div>

<%= link_to "更改文章", edit_article_path, class: "btn btn-lg btn-primary" %>
